﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AvatarEdit.aspx.cs" Inherits="AiXiu.WebSite.AvatarEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>编辑头像</title>
    <link href="Content/mui/css/mui.min.css" rel="stylesheet" />
    <link href="Content/mui/css/app.css" rel="stylesheet" />
    <link href="Content/common.css" rel="stylesheet" />
</head>
<body>
    <header class="mui-bar mui-bar-nav">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <h1 class="mui-title">编辑头像</h1>
    </header>
    <div class="mui-content">
        <form id="form1" runat="server" class="mui-input-group" method="post" enctype="multipart/form-data">
            <div class="mui-input-row" style="height: 360px; padding-top: 10px; text-align: center;">
                <label style="width: 24%;">上传头像</label>
                <asp:FileUpload ID="FileUpload1" runat="server" Style="width: 50%; float: left; margin-top: 4px;" />
                <asp:Button ID="btnUpload" runat="server" Text="上传" OnClick="btnUpload_Click" UseSubmitBehavior="False" Style="width: 14%; background-color: #007aff; color: #fff; margin-right: 4px; border-radius: 2px;" />
                <asp:Image ID="avatar" runat="server" Style="width: 80%; height: 80%;" />
            </div>
            <div class="mui-content-padded">
                <asp:Button ID="btnSave" runat="server" Text="立即更新" class="mui-btn mui-btn-block" OnClick="btnSave_Click" />
            </div>
        </form>
    </div>
    <script src="Content/mui/js/mui.min.js"></script>
</body>
</html>
